package com.easybbs.entity.vo.request;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.Size;

/**
 * @Author: yudaxian
 * @Description: TODO
 * @DateTime: 2024/10/27 19:46
 **/
@Data
public class UserCenterUpdateUserInfoReqVO {

    @Min(value = 0, message = "性别只能为0或1")
    @Max(value = 1, message = "性别只能为0或1")
    private Integer sex;

    @Max(value = 200, message = "个人描述不能超过200个字符")
    private String personDescription;

    private MultipartFile avatar;

}
